package com.wlyuan.open.dto;

import com.wlyuan.open.OpenBaseSyncDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author yuanzheng
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper = true)
public class OpenRelationSyncDTO extends OpenBaseSyncDTO implements Serializable {
    private static final long serialVersionUID = 8152969233359916507L;
    private Long relationId;
    @ApiModelProperty("上游租户id")
    private Long upstream;
    @ApiModelProperty("承运方id")
    private Long carrierId;
    @ApiModelProperty("下游租户id")
    private Long downstream;
    @ApiModelProperty("客户id")
    private Long customerId;
    @ApiModelProperty("客户类型")
    private Integer customerType;
    @ApiModelProperty("欢迎词")
    private String welcome;
    @ApiModelProperty("状态")
    private Integer status;
    @ApiModelProperty("创建时间")
    private LocalDateTime createAt;
    @ApiModelProperty("创建人")
    private Long createBy;
}
